package org.dtrd.modules.content.articles.entity.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DtrdExtEmsYwClassroomsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DtrdExtEmsYwClassroomsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDataIdIsNull() {
            addCriterion("data_id is null");
            return (Criteria) this;
        }

        public Criteria andDataIdIsNotNull() {
            addCriterion("data_id is not null");
            return (Criteria) this;
        }

        public Criteria andDataIdEqualTo(Integer value) {
            addCriterion("data_id =", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotEqualTo(Integer value) {
            addCriterion("data_id <>", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThan(Integer value) {
            addCriterion("data_id >", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_id >=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThan(Integer value) {
            addCriterion("data_id <", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("data_id <=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdIn(List<Integer> values) {
            addCriterion("data_id in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotIn(List<Integer> values) {
            addCriterion("data_id not in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdBetween(Integer value1, Integer value2) {
            addCriterion("data_id between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("data_id not between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andClassroomNameIsNull() {
            addCriterion("classroom_name is null");
            return (Criteria) this;
        }

        public Criteria andClassroomNameIsNotNull() {
            addCriterion("classroom_name is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomNameEqualTo(String value) {
            addCriterion("classroom_name =", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameNotEqualTo(String value) {
            addCriterion("classroom_name <>", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameGreaterThan(String value) {
            addCriterion("classroom_name >", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameGreaterThanOrEqualTo(String value) {
            addCriterion("classroom_name >=", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameLessThan(String value) {
            addCriterion("classroom_name <", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameLessThanOrEqualTo(String value) {
            addCriterion("classroom_name <=", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameLike(String value) {
            addCriterion("classroom_name like", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameNotLike(String value) {
            addCriterion("classroom_name not like", value, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameIn(List<String> values) {
            addCriterion("classroom_name in", values, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameNotIn(List<String> values) {
            addCriterion("classroom_name not in", values, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameBetween(String value1, String value2) {
            addCriterion("classroom_name between", value1, value2, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomNameNotBetween(String value1, String value2) {
            addCriterion("classroom_name not between", value1, value2, "classroomName");
            return (Criteria) this;
        }

        public Criteria andClassroomImageIsNull() {
            addCriterion("classroom_image is null");
            return (Criteria) this;
        }

        public Criteria andClassroomImageIsNotNull() {
            addCriterion("classroom_image is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomImageEqualTo(String value) {
            addCriterion("classroom_image =", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageNotEqualTo(String value) {
            addCriterion("classroom_image <>", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageGreaterThan(String value) {
            addCriterion("classroom_image >", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageGreaterThanOrEqualTo(String value) {
            addCriterion("classroom_image >=", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageLessThan(String value) {
            addCriterion("classroom_image <", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageLessThanOrEqualTo(String value) {
            addCriterion("classroom_image <=", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageLike(String value) {
            addCriterion("classroom_image like", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageNotLike(String value) {
            addCriterion("classroom_image not like", value, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageIn(List<String> values) {
            addCriterion("classroom_image in", values, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageNotIn(List<String> values) {
            addCriterion("classroom_image not in", values, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageBetween(String value1, String value2) {
            addCriterion("classroom_image between", value1, value2, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomImageNotBetween(String value1, String value2) {
            addCriterion("classroom_image not between", value1, value2, "classroomImage");
            return (Criteria) this;
        }

        public Criteria andClassroomCountIsNull() {
            addCriterion("classroom_count is null");
            return (Criteria) this;
        }

        public Criteria andClassroomCountIsNotNull() {
            addCriterion("classroom_count is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomCountEqualTo(Integer value) {
            addCriterion("classroom_count =", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountNotEqualTo(Integer value) {
            addCriterion("classroom_count <>", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountGreaterThan(Integer value) {
            addCriterion("classroom_count >", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("classroom_count >=", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountLessThan(Integer value) {
            addCriterion("classroom_count <", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountLessThanOrEqualTo(Integer value) {
            addCriterion("classroom_count <=", value, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountIn(List<Integer> values) {
            addCriterion("classroom_count in", values, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountNotIn(List<Integer> values) {
            addCriterion("classroom_count not in", values, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountBetween(Integer value1, Integer value2) {
            addCriterion("classroom_count between", value1, value2, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomCountNotBetween(Integer value1, Integer value2) {
            addCriterion("classroom_count not between", value1, value2, "classroomCount");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringIsNull() {
            addCriterion("classroom_during is null");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringIsNotNull() {
            addCriterion("classroom_during is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringEqualTo(String value) {
            addCriterion("classroom_during =", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringNotEqualTo(String value) {
            addCriterion("classroom_during <>", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringGreaterThan(String value) {
            addCriterion("classroom_during >", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringGreaterThanOrEqualTo(String value) {
            addCriterion("classroom_during >=", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringLessThan(String value) {
            addCriterion("classroom_during <", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringLessThanOrEqualTo(String value) {
            addCriterion("classroom_during <=", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringLike(String value) {
            addCriterion("classroom_during like", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringNotLike(String value) {
            addCriterion("classroom_during not like", value, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringIn(List<String> values) {
            addCriterion("classroom_during in", values, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringNotIn(List<String> values) {
            addCriterion("classroom_during not in", values, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringBetween(String value1, String value2) {
            addCriterion("classroom_during between", value1, value2, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomDuringNotBetween(String value1, String value2) {
            addCriterion("classroom_during not between", value1, value2, "classroomDuring");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsIsNull() {
            addCriterion("classroom_tags is null");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsIsNotNull() {
            addCriterion("classroom_tags is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsEqualTo(String value) {
            addCriterion("classroom_tags =", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsNotEqualTo(String value) {
            addCriterion("classroom_tags <>", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsGreaterThan(String value) {
            addCriterion("classroom_tags >", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsGreaterThanOrEqualTo(String value) {
            addCriterion("classroom_tags >=", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsLessThan(String value) {
            addCriterion("classroom_tags <", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsLessThanOrEqualTo(String value) {
            addCriterion("classroom_tags <=", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsLike(String value) {
            addCriterion("classroom_tags like", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsNotLike(String value) {
            addCriterion("classroom_tags not like", value, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsIn(List<String> values) {
            addCriterion("classroom_tags in", values, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsNotIn(List<String> values) {
            addCriterion("classroom_tags not in", values, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsBetween(String value1, String value2) {
            addCriterion("classroom_tags between", value1, value2, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomTagsNotBetween(String value1, String value2) {
            addCriterion("classroom_tags not between", value1, value2, "classroomTags");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsIsNull() {
            addCriterion("classroom_hits is null");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsIsNotNull() {
            addCriterion("classroom_hits is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsEqualTo(Integer value) {
            addCriterion("classroom_hits =", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsNotEqualTo(Integer value) {
            addCriterion("classroom_hits <>", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsGreaterThan(Integer value) {
            addCriterion("classroom_hits >", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsGreaterThanOrEqualTo(Integer value) {
            addCriterion("classroom_hits >=", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsLessThan(Integer value) {
            addCriterion("classroom_hits <", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsLessThanOrEqualTo(Integer value) {
            addCriterion("classroom_hits <=", value, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsIn(List<Integer> values) {
            addCriterion("classroom_hits in", values, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsNotIn(List<Integer> values) {
            addCriterion("classroom_hits not in", values, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsBetween(Integer value1, Integer value2) {
            addCriterion("classroom_hits between", value1, value2, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomHitsNotBetween(Integer value1, Integer value2) {
            addCriterion("classroom_hits not between", value1, value2, "classroomHits");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesIsNull() {
            addCriterion("classroom_subscribes is null");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesIsNotNull() {
            addCriterion("classroom_subscribes is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesEqualTo(Integer value) {
            addCriterion("classroom_subscribes =", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesNotEqualTo(Integer value) {
            addCriterion("classroom_subscribes <>", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesGreaterThan(Integer value) {
            addCriterion("classroom_subscribes >", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesGreaterThanOrEqualTo(Integer value) {
            addCriterion("classroom_subscribes >=", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesLessThan(Integer value) {
            addCriterion("classroom_subscribes <", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesLessThanOrEqualTo(Integer value) {
            addCriterion("classroom_subscribes <=", value, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesIn(List<Integer> values) {
            addCriterion("classroom_subscribes in", values, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesNotIn(List<Integer> values) {
            addCriterion("classroom_subscribes not in", values, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesBetween(Integer value1, Integer value2) {
            addCriterion("classroom_subscribes between", value1, value2, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomSubscribesNotBetween(Integer value1, Integer value2) {
            addCriterion("classroom_subscribes not between", value1, value2, "classroomSubscribes");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeIsNull() {
            addCriterion("classroom_create_time is null");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeIsNotNull() {
            addCriterion("classroom_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeEqualTo(Date value) {
            addCriterion("classroom_create_time =", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeNotEqualTo(Date value) {
            addCriterion("classroom_create_time <>", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeGreaterThan(Date value) {
            addCriterion("classroom_create_time >", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("classroom_create_time >=", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeLessThan(Date value) {
            addCriterion("classroom_create_time <", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("classroom_create_time <=", value, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeIn(List<Date> values) {
            addCriterion("classroom_create_time in", values, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeNotIn(List<Date> values) {
            addCriterion("classroom_create_time not in", values, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeBetween(Date value1, Date value2) {
            addCriterion("classroom_create_time between", value1, value2, "classroomCreateTime");
            return (Criteria) this;
        }

        public Criteria andClassroomCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("classroom_create_time not between", value1, value2, "classroomCreateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}